<?php
	require('config.php');
		$sql="select * from `".$oto."_help_notice` where isDel='0' order by createTime DESC";
		$result=$db->query($sql);
		while($row=$result->fetch_assoc()){
			$wb_gonggao[]=$row;//将取得的所有数据赋值给person_info数组
		}
		if(isset($wb_gonggao))
		{
			for($i=0;$i<count($wb_gonggao);$i++)
			{
				$wb_gonggao[$i]['content']=htmlspecialchars_decode($wb_gonggao[$i]['content']);
			}
			echo json_encode($wb_gonggao);
		}
		else echo "[]";
?>